<?php

namespace App\Adapter\objectadapter;



//被适配的类
class Voltage220V
{
    //输出220V的电压
    public function output220V() {
        $src = 220;
        echo "电压=" . $src . "伏";
        return $src;
    }

}
